package com.open.pay.wechat.sdk.common;


import okhttp3.OkHttpClient;

/**
 * @author zhang kaichao
 */
public class WxPayConstants {

    public static final String FAIL = "FAIL";
    public static final String SUCCESS = "SUCCESS";
    public static final String HMACSHA256 = "HMAC-SHA256";
    public static final String MD5 = "MD5";
    public static final String FIELD_SIGN = "sign";
    public static final String FIELD_SIGN_TYPE = "sign_type";
    public static final String WXPAYSDK_VERSION = WxUrlConfig.readConfig("WXPAYSDK_VERSION");
    public static final String USER_AGENT = WXPAYSDK_VERSION +
            " (" + System.getProperty("os.arch") + " " + System.getProperty("os.name") + " " + System.getProperty("os.version") +
            ") Java/" + System.getProperty("java.version") + " OkHttpClient/" + OkHttpClient.class.getPackage().getImplementationVersion();

}

